package com.desmart.renjiao.main.workplace;

import com.lemon.library.mvp.BaseModel;
import com.lemon.library.mvp.BasePresenter;
import com.lemon.library.mvp.BaseView;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;

public interface WorkPlace {

    interface WorkPlaceM extends BaseModel{

        Observable<ResponseBody> employeesPort(RequestBody string);

    }

    interface WorkPlaceV extends BaseView{

        void onSuccessGetKey(String massage, int title);

    }

    abstract class WorkPlaceP extends BasePresenter<WorkPlaceM,WorkPlaceV>{

        abstract void getEmployeesPort(int title);

    }

}
